// 设备 类型管理

import request from '@/utils/request'

  // 获取  售货机类型列表(搜索) 
export const shjlxlbApi=(params)=>request({
  url:`/vm-service/vmType/search`,
  params
}) 

// 新增售货机
export const addshjApi = (data) => request({
  url:'/vm-service/vm',
  method: 'post',
  data,
})

// 售货机类型删除
export const delshjApi = (typeId) => request({
  url:`/vm-service/vmType/${typeId}`,
  method: 'delete'
})

// 售货机类型修改
export const updateshjlxApi = (typeId) => request({
  url:`/vm-service/vmType/${typeId}`,
  method: 'put'
})


